package org.bbmall.bean.store;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 门店客流分布实体类
 * 对应数据库表：ads_store_customer_distribution
 */
@Data
@TableName("ads_store_customer_distribution")
public class AdsStoreCustomerDistribution {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 统计日期
     */
    @TableField("stat_date")
    private LocalDate statDate;

    /**
     * 门店ID
     */
    @TableField("store_id")
    private String storeId;

    /**
     * 门店名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 日客流量
     */
    @TableField("daily_customers")
    private Integer dailyCustomers;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 门店状态
     */
    @TableField("store_status")
    private String storeStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}